package com.ec.pf.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ec.pf.pojo.FamilyProfile;

import java.util.List;

public interface FamilyProfileService {

    FamilyProfile addFamilyProfile(FamilyProfile familyProfile); // 新增家属档案

    boolean deleteFamilyProfileById(Long id); // 根据ID删除家属档案

    FamilyProfile updateFamilyProfile(FamilyProfile familyProfile); // 修改家属档案

    FamilyProfile getFamilyProfileById(Long id); // 根据ID查询家属档案

    Page<FamilyProfile> listFamilyProfiles(Integer page, Integer size); // 分页查询家属档案

    boolean batchDeleteFamilyProfiles(List<Long> ids); // 批量删除家属档案

    Page<FamilyProfile> searchFamilyProfiles(String fullName, String gender, String phone, int page, int size);
}
